import http from '@/api/httpRequest.ts'

export function querySysUser(param: any) {
    return http({
        url: '/sysUser/querySysUser',
        method: 'get',
        params: param
    })
}

export function addOrEditSysUser(data: any) {
    return http({
        url: '/sysUser/addOrEditSysUser',
        method: 'post',
        data: data
    })
}

export function delSysUserByUserId(data: any) {
    return http({
        url: '/sysUser/delSysUserByUserId',
        method: 'post',
        data: data
    })
}

export function getSysUserInfo(param: any) {
    return http({
        url: '/sysUser/getSysUserInfo',
        method: 'get',
        params: param
    })
}